package com.alibaba.citrus.cr.sales.plan.api.setting.contract.trategy;

import com.alibaba.citrus.cr.sales.plan.sdo.ContractSDO;
import com.google.common.collect.Lists;

import java.util.List;

/**
 * @author wangyibing
 */
public interface ContractStatStrategy {
    List<String> equalFields = Lists.newArrayList(
            "orgSalesChannelCode","orgSalesDepartmentCode","manageEmployeeId","annualQuantity","annualAmount","annualTaxIncludedBeforeTax",
            "janQuantity","febQuantity","marQuantity","aprQuantity","mayQuantity","juneQuantity","julyQuantity","augQuantity","septQuantity","octQuantity","novQuantity","decQuantity",
            "janAmount","febAmount","marAmount","aprAmount","mayAmount","juneAmount","julyAmount","augAmount","septAmount","octAmount","novAmount","decAmount",
            "janTaxIncludedBeforeTax","febTaxIncludedBeforeTax","marTaxIncludedBeforeTax","aprTaxIncludedBeforeTax","mayTaxIncludedBeforeTax","juneTaxIncludedBeforeTax","julyTaxIncludedBeforeTax","augTaxIncludedBeforeTax","septTaxIncludedBeforeTax","octTaxIncludedBeforeTax","novTaxIncludedBeforeTax","decTaxIncludedBeforeTax"
            );

    boolean summary(String contractYear);

    String summaryV2(List<ContractSDO> contractList, String year, String orgBusinessUnitCode);
}
